package com.lagou.dao;

import com.lagou.pojo.LagouToken;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Author : liuchangling
 * @Descrition :
 * @Date： Created in 7:46 下午 2022/1/31
 */
public interface LagouTokenDao extends JpaRepository<LagouToken,Long> {

    LagouToken findFirstByEmailAndPassword(String email,String password);

    LagouToken findFirstByEmail(String email);

    LagouToken findFirstByToken(String token);

}
